package com.example.service.webhook.business.bank.api;

import java.util.List;

import com.example.service.webhook.business.bank.dto.BankBill;
import com.example.service.webhook.business.bank.dto.BankBillShoppingSheetList;
import com.example.service.webhook.business.bank.dto.BankCardInfo;
import com.example.service.webhook.business.bank.dtonew.BillDetail;
import com.example.service.webhook.business.bank.dtonew.CardDetail;

import retrofit2.Call;
import retrofit2.http.*;

public interface BankApi {
	
	 @GET("/bank/v3/allcards")
	 Call<List<CardDetail>> getCards(@Query("task_id") String taskId);

    @GET("/bank/v3/cards/{cardid}")
    Call<BankCardInfo> getCardInfo(@Path("cardid") String cardId);

    @GET("/bank/v3/bills/{billid}")
    Call<BankBill> getBillById(@Path("billid") String billId);
    
    @GET("/bank/v3/bills/{billid}/expense-records")
    Call<BankBillShoppingSheetList> getBillShoppingSheets(@Path("billid") String billId,@Query("page") Integer page,@Query("size") Integer size);

}
